package service;

import entity.Category;

import java.util.List;

public interface CategoryService {
    public List<Category> findAll();
    public List<Category> findTree();
    int insert(Category category);
    int update(Category category);

    boolean saveOrUpdate(Category category);
    boolean delete(Long id);
}
